﻿<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:controls="using:AppStudio.Controls"
    xmlns:html2xaml="using:AppStudio.Controls.Html2Xaml">

    <!-- ImageButton Style -->
    <Style x:Key="ImageButtonStyle" TargetType="Button">
        <Setter Property="BorderThickness" Value="0"/>
        <Setter Property="Padding" Value="0"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Button">
                    <Grid Background="Transparent">
                        <Border x:Name="ButtonBackground" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" CornerRadius="0" Margin="0">
                            <ContentControl x:Name="ContentContainer" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" Foreground="{TemplateBinding Foreground}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" Padding="{TemplateBinding Padding}" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"/>
                        </Border>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <!-- Action Button Styles -->
    <Style x:Key="MailActionButton" TargetType="Button">
        <Setter Property="VerticalAlignment" Value="Top"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Button">
                    <StackPanel Orientation="Horizontal">
                        <Border Background="#01000000" Width="30" Height="30" BorderThickness="2" BorderBrush="{TemplateBinding Foreground}" CornerRadius="33" Padding="1">
                            <Path Margin="1,5"
                                Data="M0,4.0800388L0.030031017,4.0800388 12.610706,16.409995 26.621516,30.149985 40.642334,16.409995 53.223011,4.0800388 
						                53.333001,4.0800388 53.333001,39.080039 0,39.080039z M3.1698808,0L26.660885,0 50.161892,0 38.411389,11.791528 
						                26.660885,23.573054 14.920383,11.791528z"
                            Fill="{TemplateBinding Foreground}" VerticalAlignment="Center" Stretch="Fill" UseLayoutRounding="False" />
                        </Border>
                        <RichTextBlock Margin="8,0" Padding="0" VerticalAlignment="Center" FontWeight="Normal" TextWrapping="Wrap"  Style="{StaticResource Html2XamlStyle}"
                            html2xaml:Properties.Html="{TemplateBinding Content}" />
                     </StackPanel>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="CallActionButton" TargetType="Button">
        <Setter Property="VerticalAlignment" Value="Top"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Button">
                    <StackPanel Orientation="Horizontal">
                        <Border Background="#01000000" Width="30" Height="30" BorderThickness="2" BorderBrush="{TemplateBinding Foreground}" CornerRadius="33" Padding="1">
                            <Path Margin="4,0"
                            Data="M25.869653,36.256312C26.547123,36.269717,27.158489,36.69683,27.421037,37.327555L32.15192,48.785151C32.511989,49.66812,
						            32.091911,50.659083,31.221748,51.017073L27.17099,52.687014 21.139862,38.056529 25.170616,36.390589 25.180618,36.388587C25.410661,
						            36.293341,25.643829,36.251841,25.869653,36.256312z M5.0948703,2.2770528L10.984083,16.550895C8.9943635,17.371871 9.484287,
						            19.703879 10.884121,24.365819 11.793909,27.448796 13.223768,31.149747 15.113525,34.633719 16.4433,37.077727 17.953104,
						            39.374701 20.032776,38.513686L26.061985,53.146533C23.562324,53.86851 13.213759,53.482527 4.4949767,33.073739 -4.6938346,
						            11.579938 2.6551394,3.2250417 5.0948703,2.2770528z M10.903703,0.00037503242C11.58513,0.014766693,12.196259,0.44190931,12.458708,
						            1.0704348L17.047798,12.207893C17.417724,13.09093,16.98781,14.08197,16.117983,14.440985L12.078783,16.109053 6.169955,
						            1.8004654 10.209154,0.13239622 10.209154,0.13139653C10.441608,0.03664279,10.676561,-0.0044214725,10.903703,0.00037503242z" 
                            Fill="{TemplateBinding Foreground}" VerticalAlignment="Center" Stretch="Fill" UseLayoutRounding="False" />
                        </Border>
                        <RichTextBlock Margin="8,0" Padding="0" VerticalAlignment="Center" FontWeight="Normal" TextWrapping="Wrap"  Style="{StaticResource Html2XamlStyle}"
                            html2xaml:Properties.Html="{TemplateBinding Content}" />
                    </StackPanel>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="MusicActionButton" TargetType="Button">
        <Setter Property="VerticalAlignment" Value="Top"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Button">
                    <StackPanel Orientation="Horizontal">
                        <Border Background="#01000000" Width="30" Height="30" BorderThickness="2" BorderBrush="{TemplateBinding Foreground}" CornerRadius="33" Padding="1">
                            <Path Margin="2"
                                Data="F1 M 0,0 L 0,56.48 0,156.48 C -5.6,155.04 -12,154.56 -18.72,155.68 -37.28,158.56 -50.72,171.2 -48.8,184
						                -46.88,196.8 -30.08,204.96 -11.52,202.08 6.08,199.36 19.04,187.68 18.72,175.68 L 18.72,175.68
                                        18.72,53.28 130.4,33.92 130.4,131.52 C 124.8,129.92 118.4,129.6 111.68,130.56 93.12,133.44 79.68,146.24 81.6,159.04
                                        83.68,171.84 100.32,179.84 118.88,176.96 136.48,174.24 149.6,162.72 149.12,150.56 L 149.12,150.56
                                        149.12,30.56 149.12,-7.04 149.12,-25.92 0,0 z"    
                            Fill="{TemplateBinding Foreground}" VerticalAlignment="Center" Stretch="Fill" UseLayoutRounding="False" />
                        </Border>
                        <RichTextBlock Margin="8,0" Padding="0" VerticalAlignment="Center" FontWeight="Normal" TextWrapping="Wrap"  Style="{StaticResource Html2XamlStyle}"
                            html2xaml:Properties.Html="{TemplateBinding Content}" />
                    </StackPanel>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="HomeActionButton" TargetType="Button">
        <Setter Property="VerticalAlignment" Value="Top"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Button">
                    <StackPanel Orientation="Horizontal">
                        <Border Background="#01000000" Width="30" Height="30" BorderThickness="2" BorderBrush="{TemplateBinding Foreground}" CornerRadius="33" Padding="1">
                            <Path Margin="1,2,1,3"
                                Data="F1 M 0,0 L -108.64,81.76 -79.84,81.76 -79.84,165.44 -26.08,165.44 -26.08,112.16 25.92,112.16
						                25.92,165.44 79.68,165.44 79.68,81.76 108.48,81.76 0,0 z" 
                            Fill="{TemplateBinding Foreground}" VerticalAlignment="Center" Stretch="Fill" UseLayoutRounding="False" />
                        </Border>
                        <RichTextBlock Margin="8,0" Padding="0" VerticalAlignment="Center" FontWeight="Normal" TextWrapping="Wrap"  Style="{StaticResource Html2XamlStyle}"
                            html2xaml:Properties.Html="{TemplateBinding Content}" />
                    </StackPanel>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="SearchActionButton" TargetType="Button">
        <Setter Property="VerticalAlignment" Value="Top"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Button">
                    <StackPanel Orientation="Horizontal">
                        <Border Background="#01000000" Width="30" Height="30" BorderThickness="2" BorderBrush="{TemplateBinding Foreground}" CornerRadius="33" Padding="1">
                            <Path Margin="2"
				                Data="F1M-185.925,-2026.96L-203.062,-2048.74C-197.485,-2056.51 -197.433,-2067.31 -203.64,-2075.2 -211.167,-2084.76 
						                -225.019,-2086.42 -234.588,-2078.89 -244.154,-2071.36 -245.808,-2057.51 -238.282,-2047.94 -231.986,-2039.95 -221.274,-2037.5 -212.337,-2041.31L-195.262,-2019.61 -185.925,-2026.96z M-231.201,-2053.51C-235.653,-2059.17 -234.674,-2067.36 -229.02,-2071.81 -223.36,-2076.26 -215.169,-2075.29 -210.721,-2069.63 -206.269,-2063.97 -207.245,-2055.78 -212.902,-2051.33 -218.559,-2046.88 -226.752,-2047.86 -231.201,-2053.51z"
                            Fill="{TemplateBinding Foreground}" VerticalAlignment="Center" Stretch="Fill" UseLayoutRounding="False" />
                        </Border>
                        <RichTextBlock Margin="8,0" Padding="0" VerticalAlignment="Center" FontWeight="Normal" TextWrapping="Wrap"  Style="{StaticResource Html2XamlStyle}"
                            html2xaml:Properties.Html="{TemplateBinding Content}" />
                    </StackPanel>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="PlayActionButton" TargetType="Button">
        <Setter Property="VerticalAlignment" Value="Top"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Button">
                    <StackPanel Orientation="Horizontal">
                        <Border Background="#01000000" Width="30" Height="30" BorderThickness="2" BorderBrush="{TemplateBinding Foreground}" CornerRadius="33" Padding="1">
                            <Path Margin="6,2,2,2"
                				Data="F1M-224.553,1265L-246.174,1283.52 -267.792,1302.04 -267.792,1265 -267.792,1227.97 -246.174,1246.49 -224.553,1265z" 
                            Fill="{TemplateBinding Foreground}" VerticalAlignment="Center" Stretch="Fill" UseLayoutRounding="False" />
                        </Border>
                        <RichTextBlock Margin="8,0" Padding="0" VerticalAlignment="Center" FontWeight="Normal" TextWrapping="Wrap"  Style="{StaticResource Html2XamlStyle}"
                            html2xaml:Properties.Html="{TemplateBinding Content}" />
                    </StackPanel>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="LocationActionButton" TargetType="Button">
        <Setter Property="VerticalAlignment" Value="Top"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Button">
                    <StackPanel Orientation="Horizontal">
                        <Border Background="#01000000" Width="30" Height="30" BorderThickness="2" BorderBrush="{TemplateBinding Foreground}" CornerRadius="33" Padding="1">
                            <Path Margin="3,1"
                                Data="M-1803.39,-939.073C-1813.86,-939.073 -1822.34,-930.589 -1822.34,-920.126 -1822.34,-916.45 -1821.29,-913.022 -1819.48,
						                -910.119L-1811.54,-893.476 -1803.39,-876.405 -1795.25,-893.476 -1787.31,-910.115C-1785.49,-913.021 -1784.45,-916.449 
						                -1784.45,-920.126 -1784.45,-930.589 -1792.93,-939.073 -1803.39,-939.073 M-1803.39,-909.656C-1808.8,-909.656 -1813.18,
						                -914.039 -1813.18,-919.448 -1813.18,-924.854 -1808.8,-929.24 -1803.39,-929.24 -1797.98,-929.24 -1793.6,-924.854 
						                -1793.6,-919.448 -1793.6,-914.039 -1797.98,-909.656 -1803.39,-909.656"             
                            Fill="{TemplateBinding Foreground}" VerticalAlignment="Center" Stretch="Fill" UseLayoutRounding="False" />
                        </Border>
                        <RichTextBlock Margin="8,0" Padding="0" VerticalAlignment="Center" FontWeight="Normal" TextWrapping="Wrap"  Style="{StaticResource Html2XamlStyle}"
                            html2xaml:Properties.Html="{TemplateBinding Content}" />
                    </StackPanel>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="GoToLocationActionButton" TargetType="Button">
        <Setter Property="VerticalAlignment" Value="Top"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Button">
                    <StackPanel Orientation="Horizontal">
                        <Border Background="#01000000" Width="30" Height="30" BorderThickness="2" BorderBrush="{TemplateBinding Foreground}" CornerRadius="33" Padding="1">
                            <Path Margin="1"
                                Data="M2.925457,45.511272C10.741428,45.502132,18.48247,50.500496,21.411001,52.619106L20.564001,62.264 0,53.770779 2.1689987,
						                45.528053C2.4211235,45.517071,2.6733284,45.511566,2.925457,45.511272z M43.952001,43.591896C55.724,52.525307,62.183001,
						                53.360489,62.789,53.421089L64,61.205421 44.424,54.828056 44.396,54.156773z M40.450001,43.115406L40.919001,54.26947 
						                40.950001,54.990753 24.056,62.232002 24.903,52.581406z M32.606,36.478134L32.606,43.690895 25.280001,48.306694 
						                26.096001,39.011951z M59.924001,35.005447L62.139,49.239574C59.452001,49.095078 54.612,46.333439 50.368,43.548397 
						                53.144,35.378548 59.758,35.013317 59.924001,35.005447z M16.933001,22.882633L23.807001,25.352081 23.771,25.766691 
						                23.009001,34.433929C13.212002,29.659979,16.569,23.494579,16.933001,22.882633z M8.8899994,19.993994L13.364,21.601459C9.25,
						                30.491262,18.677,36.603863,22.634001,38.703369L21.754,48.719387C6.2389984,39.027451,3.1920013,41.771053,3.1920013,
						                41.771053L2.8279991,43.028809z M39.475,19.857397L40.272,38.861565 36.321,41.351074 36.242001,33.327076C35.919001,
						                31.54977,33.817,31.872763,33.817,31.872763L26.479,34.649315 27.239,25.997887 27.308001,25.195833z M42.948,19.718L46.328,
						                20.843176 48.265,28.147562 49.341001,32.198376 51.812,28.815638 55.427,23.871042 58.343,24.841661 59.338,31.237457C50.179,
						                32.483341,47.031,41.246284,47.031,41.246284L47.372,41.519039C45.925,40.510029,44.669,39.595921,43.755,38.916862z M53.679668,
						                4.3845386C51.646579,4.4165239 49.847217,5.8707604 49.457722,7.9460926 49.009715,10.31923 50.56956,12.603175 52.941967,
						                13.049685 55.314495,13.496293 57.60103,11.937162 58.046438,9.5640144 58.494245,7.1922369 56.93172,4.9063015 54.561872,
						                4.4602423 54.26532,4.4044247 53.970109,4.3799686 53.679668,4.3845386z M53.876964,0.00037478212C54.370403,0.0050314565 54.870273,
						                0.05313564 55.372135,0.14771746 59.963256,1.0122223 62.984005,5.4340973 62.119318,10.023382 61.814724,11.634684 61.072536,13.050685 60.038754,
						                14.176887L55.179538,20.820293 50.197683,27.634001 48.033721,19.474491 45.924445,11.519484C45.372331,10.095582 45.19521,8.50704 45.497207,
						                6.8932085 46.267306,2.8053779 49.85896,-0.037543376 53.876964,0.00037478212z" 
                            Fill="{TemplateBinding Foreground}" VerticalAlignment="Center" Stretch="Fill" UseLayoutRounding="False" />
                        </Border>
                        <RichTextBlock Margin="8,0" Padding="0" VerticalAlignment="Center" FontWeight="Normal" TextWrapping="Wrap"  Style="{StaticResource Html2XamlStyle}"
                            html2xaml:Properties.Html="{TemplateBinding Content}" />
                    </StackPanel>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
</ResourceDictionary>
